com.highdeal.admin.hci
Class AdminParameterModel

java.lang.Object
  extended by com.highdeal.admin.hci.AdminParameterModel
All Implemented Interfaces:
XMLMarshallable

public class AdminParameterModel
extends java.lang.Object
implements XMLMarshallable

The Java class represents a system parameter in the connected SAP CC system.

Implementation in Your Client Application

Consider the available service operations.

Related Operation Requests

Consider the following service operations dedicated to the administration of SAP CC system parameters:

Additional Information

Consult the SAP CC System Parameter Reference documentation for more information about the system parameters and indicators of SAP Convergent Charging.

See Also:
GetParametersOp, GetParameterValueOp, SetParameterValueOp, ResetParameterValueOp

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:element name="adminParameter">
   <xs:complexType>
     <xs:attribute name="name" type="xs:string" use="required"/>
     <xs:attribute name="description" type="xs:string"/>
     <xs:attribute name="optional" type="xs:boolean" default="false" />
     <xs:attribute name="defaultValue" type="xs:string" use="required"/>
     <xs:attribute name="initValue" type="xs:string"/>
     <xs:attribute name="value" type="xs:string"/>
     <xs:attribute name="modifiable" type="xs:boolean" default="false"/>
     <xs:attribute name="target" type="xs:string" use="required"/>
     <xs:attribute name="persistent" type="xs:boolean" default="false"/>
     <xs:attribute name="source" use="required">
        <xs:simpleType>
          <xs:restriction base="xs:string">
              <xs:enumeration value="file"/>
              <xs:enumeration value="database"/>
              <xs:enumeration value="instanceMap"/>
              <xs:enumeration value="indicator"/>
              <xs:enumeration value="system"/>
              <xs:enumeration value="xmlGenerated"/>
          </xs:restriction>
        </xs:simpleType>
     </xs:attribute>
     <xs:attribute name="type" type="xs:string" use="required"/>

   </xs:complexType>
 </xs:element>


Field Summary
static java.lang.String HIDDEN_VALUE
          Constant for a hidden value representation on network
static java.lang.String PARAMETER_MODEL
          The XML tag name of this data model: adminParameter
static java.lang.String UNKNOWN_VALUE
          Constant for an unknown value representation on network
static java.lang.String UNSET_VALUE
          Constant for an unset value representation on network
 
Constructor Summary
AdminParameterModel()
          Default constructor needed for unmarshalling.
AdminParameterModel(com.highdeal.parameter.Parameter parameter, java.lang.Object target, boolean persistent, boolean useDefinitionOnly)
          AdminParameterModel constructor.
 
Method Summary
 void addCharacterData(java.lang.String cData)
          Adds string data to this model.
 void addChild(java.lang.String tagName, XMLMarshallable child)
          Adds a child tag to this operation.
 java.lang.String getDefaultValue()
          Returns the parameter default value.
 java.lang.String getDescription()
          Returns the comprehensive description of the SAP CC system parameter.
 java.lang.String getInitValue()
          Returns the initialization value of this parameter.
 java.lang.String getName()
          Returns the parameter name.
 com.highdeal.parameter.Source getSource()
          Returns the source of this parameter.
 java.lang.String getTarget()
          Gets the corresponding target.
 java.lang.String getType()
          Returns the type of this parameter.
 java.lang.String getValue()
          Returns the parameter value.
 boolean isModifiable()
          Is parameter modifiable?
 boolean isOptional()
          Is parameter optional?
 boolean isPersistent()
          Is parameter persistent?
 void marshal(XMLOutputter output)
          Writes the operation XML data to the specified output.
 void setAttributes(XMLAttributes atts)
          Sets the operation attributes from the XMLAttributes.
 void setDefaultValue(java.lang.String defaultValue)
          Sets the parameter default value.
 void setDescription(java.lang.String description)
          Sets the parameter description.
 void setInitValue(java.lang.String initValue)
          Sets the initialization value of this parameter.
 void setModifiable(boolean isModifiable)
          Sets the modifiable state of the parameter.
 void setName(java.lang.String name)
          Set the parameter name.
 void setOptional(boolean optional)
          Sets the optional state of the parameter.
 void setPersistent(boolean persistent)
          Sets the persistent state of the parameter.
 void setSource(com.highdeal.parameter.Source source)
          Sets the source of this parameter.
 void setTarget(java.lang.String target)
          Sets the corresponding target.
 void setType(java.lang.String type)
          Sets the type of this parameter.
 void setValue(java.lang.String value)
          Sets the parameter value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAMETER_MODEL

public static final java.lang.String PARAMETER_MODEL
The XML tag name of this data model: adminParameter

See Also:
Constant Field Values

UNSET_VALUE

public static final java.lang.String UNSET_VALUE
Constant for an unset value representation on network

See Also:
Constant Field Values

UNKNOWN_VALUE

public static final java.lang.String UNKNOWN_VALUE
Constant for an unknown value representation on network

See Also:
Constant Field Values

HIDDEN_VALUE

public static final java.lang.String HIDDEN_VALUE
Constant for a hidden value representation on network

See Also:
Constant Field Values
Constructor Detail

AdminParameterModel

public AdminParameterModel()
Default constructor needed for unmarshalling.


AdminParameterModel

public AdminParameterModel(com.highdeal.parameter.Parameter parameter,
                           java.lang.Object target,
                           boolean persistent,
                           boolean useDefinitionOnly)
AdminParameterModel constructor.

Parameters:
parameter - The parameter to represent over the network
target - The parameter defined target
persistent - If the parameter represents a persistent value
useDefinitionOnly - Only marshall definition properties
Method Detail

setName

public void setName(java.lang.String name)
Set the parameter name.

Parameters:
name - The parameter name

getName

public java.lang.String getName()
Returns the parameter name.

Returns:
The parameter name

setDescription

public void setDescription(java.lang.String description)
Sets the parameter description.

Parameters:
description - The parameter description

getDescription

public java.lang.String getDescription()
Returns the comprehensive description of the SAP CC system parameter.

Returns:
The parameter description

setValue

public void setValue(java.lang.String value)
Sets the parameter value.

Parameters:
value - The parameter value to set

getValue

public java.lang.String getValue()
Returns the parameter value.

Returns:
The parameter value

setDefaultValue

public void setDefaultValue(java.lang.String defaultValue)
Sets the parameter default value.

Parameters:
defaultValue - The default value of parameter

getDefaultValue

public java.lang.String getDefaultValue()
Returns the parameter default value.

Returns:
The parameter default value

getInitValue

public java.lang.String getInitValue()
Returns the initialization value of this parameter.

Returns:
The initial value of the parameter as string

setInitValue

public void setInitValue(java.lang.String initValue)
Sets the initialization value of this parameter.

Parameters:
initValue - The initial value of the parameter to set

setModifiable

public void setModifiable(boolean isModifiable)
Sets the modifiable state of the parameter.

Parameters:
isModifiable - The modifiable state of the parameter

isModifiable

public boolean isModifiable()
Is parameter modifiable?

Returns:
true if the parameter is modifiable, false otherwise

setOptional

public void setOptional(boolean optional)
Sets the optional state of the parameter.

Parameters:
optional - The optional state of the parameter

isOptional

public boolean isOptional()
Is parameter optional?

Returns:
true if the parameter is optional, false otherwise

getTarget

public java.lang.String getTarget()
Gets the corresponding target.

Returns:
The target

setTarget

public void setTarget(java.lang.String target)
Sets the corresponding target.

Parameters:
target - The target to set

setPersistent

public void setPersistent(boolean persistent)
Sets the persistent state of the parameter.

Parameters:
persistent - The persistent state of the parameter

isPersistent

public boolean isPersistent()
Is parameter persistent?

Returns:
true if the parameter is persistent, false otherwise

getSource

public com.highdeal.parameter.Source getSource()
Returns the source of this parameter.

Returns:
The source of parameter as string

setSource

public void setSource(com.highdeal.parameter.Source source)
Sets the source of this parameter.

Parameters:
source - The source of parameter to set

getType

public java.lang.String getType()
Returns the type of this parameter.

Returns:
The type of parameter as string

setType

public void setType(java.lang.String type)
Sets the type of this parameter.

Parameters:
type - The type of parameter to set

setAttributes

public void setAttributes(XMLAttributes atts)
Sets the operation attributes from the XMLAttributes.

Specified by:
setAttributes in interface XMLMarshallable
Parameters:
atts - The XMLAttributes containing the data

addChild

public void addChild(java.lang.String tagName,
                     XMLMarshallable child)
Adds a child tag to this operation.

This tag is ignored for this model.

Specified by:
addChild in interface XMLMarshallable
Parameters:
tagName - The name of the tag
child - The XMLMarshallable child to add

addCharacterData

public void addCharacterData(java.lang.String cData)
Adds string data to this model.

This data is ignored for this model.

Specified by:
addCharacterData in interface XMLMarshallable
Parameters:
cData - The character data to add to the operation

marshal

public void marshal(XMLOutputter output)
Writes the operation XML data to the specified output.

Specified by:
marshal in interface XMLMarshallable
Parameters:
output - The XMLOutputter to write into

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)